package com.kashow;

/**
 * Created by liwenyue on 7/13/16.
 */
public class C {
    public static final int PAGE_SIZE = 10;
    public static final int DEFAULT_PAGE_SIZE = 20;
    public static final int PRE_SHOW_PAGE_SIZE = 10;
    public static final int CHOICE_LIVE_PAGE_SIZE = 5;

    public static final String IS_PRODUCTION = "is_production";
    public static final String CUSTOM_TITLE = "road_show";

    public static final String APP_ID = "wxfc45953b431e2734";
    public static final String APP_SECRET = "bc86ace8bff2e94a3eb37d4ca0a3325f";
    //wx125ee4d816d9eb0b 测试的

    //测试的id wx125ee4d816d9eb0b
    //正式的id wx2836ca1af475d2fc
    public static final String WEXIN_APPID = "wx2836ca1af475d2fc";

    //微信登錄
    public static final String spName = "WX_SP";
    public static final String CODE = "code";
    public static final String ACCESS_TOKEN = "access_token";
    public static final String REFRESH_TOKEN = "refresh_token";
    public static final String WXOPENID = "wxopenid";
    public static final String EXPIRES_IN = "expires_in";
    public static final String IS_AUTH_LOGIN = "is_auth_login";


    public static final String DEFAULT_TEACHER_NAME = "咖袖说";
    public static final int DEFAULT_CHOICE_SIZE = 4;



    // 注册的时候传递数据
    public static final String PHONE = "phone";
    public static final String FISRT_PASSWORD = "password";
    public static final String SECOOND_PASSWORD = "confirmPassword";
    public static final String USER_NAME = "userName";
    public static final String PHONE_CODE = "code";
    public static final String PHONE_SEX = "sex";
    public static final String PAYING_MONEY = "payingmoney";
    public static final String PERSON_INFO = "personinfo";
    public static final String PERSON_INFO_NAME = "personname";
    public static final String PERSON_INFO_ICFOREGROUND = "icForeground";
    public static final String PERSON_INFO_ICBACKGROUND = "icBackground";
    public static final String PERSON_INFO_ICNUMBER = "icNumber";
    public static final String PUBLISH_HEADER = "PUBLISH_HEADER";
    public static final int TYPE_ONE = 1;
    public static final int TYPE_TWO = 2;
    public static final String UID = "uid";
    public static final String CLEAR = "吐字清晰";
    public static final String FUNNY = "幽默风趣";
    public static final String PRATICAL = "使用落地";
    public static final String TITEL = "标题";
    public static final String CONTENT = "标题内容";
    public static final int HIDE_TIPS_SECOND = 5;
    public static final int BUTTOM_DIAGLOG = 6;
    public static final  String TYPE = "直播状态";
    public static final int LIVE_TYPE_PHONE = 1;
    public static final int LIVE_TYPE_COMPUTER= 2;
    public static final int LIVE_TYPE_VR = 3;
    public static final String LIVING_ID = "living_id";
    public static final int TYPE_THREE = 3;
    public static final String HAS_AUTHOR = "has_author";
    public static final String WELCOME = "welcome";
    public static final String WEB_ROUTER_LIVING = "/react/living/";
    public static final String WEB_ROUTER_AUDIO = "/react/audio/";
    public static final String TYPE_PRIVACY = "privacy";
    public static final String TYPE_SERVICE = "service";
    public static final String TEACHER_CODE = "teacher_code";
    public static final String TEACHERID = "teacherId";
    public static final String CHANGE = "change";
    public static final String FLAG = "falge";
    public static final int BOXING_SINGLE_IMAGE = 10001;
    public static final int BOXING_MULTI_IMAGE = 10002;
    public static final int BOXING_VIDEO = 10003;

    public static final int BOXING_CHANGE_IMAGE = 10004;
    public static final int MAX_PIC_SIZE = 10;
    public static final long MAX_SELECTOR_TIME_ZONE = 30L * 365 * 1000 * 60 * 60 * 24;
    public static final String TEMPLATE_CIRCLE_ID = "circle:id:%d";
    public static final String DEFAULT_ALIAS_TYPE = "_id";
    public static final String BUILD_TYPE_TEST = "test";
    public static final String BUILD_TYPE_RELEASE = "release";
    public static final String RELEASE_TAG = "release_tag";
    public static final String PERFIX_LAST_ID = "live:last:id";
    public static final int BUYED_ALBUM = 3;
    public static final String LOGIN_USER_ID = "uid";
    public static final String WEB_ROUTER_ALBUM = "react/album";
    public static final int VIDEO_TRY_SECOND = 180;
    // public static final String CHAT_SERVER_URL = "http://192.168.2.72:5002";
//   public static String baseUrl = "http://192.168.2.72:3001";
    public static String CHAT_SERVER_URL = "https://live.kashowvr.com";
    public static String BASE_URL = "https://live.kashowvr.com";


//    public static String CHAT_SERVER_URL_DEBUG = "https://live.kashowvr.com";
//    public static String BASE_URL_DEUBG = "https://live.kashowvr.com";

    public static String CHAT_SERVER_URL_DEBUG = "https://test.kashowvr.com";
    public static String BASE_URL_DEUBG = "https://test.kashowvr.com";


    public static String LOG_TAG = "yybs";
    public static String wechatBaseUrl = "https://api.weixin.qq.com";

    public static final int DEBOUNCE = 500;
    public static final int DEFAULT_GIFT_PAGE_SIZE = 8;
    public static final int DAY_SECOND = 24 * 60 * 60;
    public static final int HOUR_SECOND = 60 * 60;
    public static final int MINUTE_SECOND = 60;

    public static final String CER_TEST = "-----BEGIN CERTIFICATE-----\n" +
            "MIIFhTCCBG2gAwIBAgIQPNmt7fj4tBG43Tq1bsq+XjANBgkqhkiG9w0BAQsFADCB\n" +
            "lDELMAkGA1UEBhMCVVMxHTAbBgNVBAoTFFN5bWFudGVjIENvcnBvcmF0aW9uMR8w\n" +
            "HQYDVQQLExZTeW1hbnRlYyBUcnVzdCBOZXR3b3JrMR0wGwYDVQQLExREb21haW4g\n" +
            "VmFsaWRhdGVkIFNTTDEmMCQGA1UEAxMdU3ltYW50ZWMgQmFzaWMgRFYgU1NMIENB\n" +
            "IC0gRzEwHhcNMTYxMjMwMDAwMDAwWhcNMTcxMjMwMjM1OTU5WjAZMRcwFQYDVQQD\n" +
            "DA4qLmthc2hvd3ZyLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB\n" +
            "ALQszu+Ty0RU1r0w/siEOqeZugM/ZIgeDOb9sbk3lvtUw9YTfixjXxyHCl0i5tOz\n" +
            "Zp+owa23gM/xAqgU4VmImGNh8hG9436TPreYNSjjYI8WhV5xfEtsR+Dxu6NyjoAL\n" +
            "rdSd1AXsRA8Z03Nnp4vt9MBcZLQd0cXcDaQ7xVuuZNF/vM9uCqxiNT0RbRNuiMGQ\n" +
            "W3rh9pJe5ksSwQ8XSCUGwbFuv7XNMMXejKnn4S755qHVL9bI6Bsw5Nv6kqYoFNuz\n" +
            "jiq5Zo1QwJA97A2ZOTrrLY/h18J33cEoUNRiCoQB6nvQOhEwAYe5mXMzNWzDB/ft\n" +
            "LvapxeY7AeQ8MYNH73v5kdMCAwEAAaOCAkswggJHMCcGA1UdEQQgMB6CDioua2Fz\n" +
            "aG93dnIuY29tggxrYXNob3d2ci5jb20wCQYDVR0TBAIwADBhBgNVHSAEWjBYMFYG\n" +
            "BmeBDAECATBMMCMGCCsGAQUFBwIBFhdodHRwczovL2Quc3ltY2IuY29tL2NwczAl\n" +
            "BggrBgEFBQcCAjAZDBdodHRwczovL2Quc3ltY2IuY29tL3JwYTAfBgNVHSMEGDAW\n" +
            "gBRcYZ6wdkGpaqpDC+HHbjApbrHNNjAOBgNVHQ8BAf8EBAMCBaAwHQYDVR0lBBYw\n" +
            "FAYIKwYBBQUHAwEGCCsGAQUFBwMCMFcGCCsGAQUFBwEBBEswSTAfBggrBgEFBQcw\n" +
            "AYYTaHR0cDovL2hjLnN5bWNkLmNvbTAmBggrBgEFBQcwAoYaaHR0cDovL2hjLnN5\n" +
            "bWNiLmNvbS9oYy5jcnQwggEDBgorBgEEAdZ5AgQCBIH0BIHxAO8AdQDd6x0reg1P\n" +
            "piCLga2BaHB+Lo6dAdVciI09EcTNtuy+zAAAAVlN/38QAAAEAwBGMEQCIGj+dEKh\n" +
            "vS8UtMdWdwfHUy+9xsz2Rz3WD6WrUePK8bx3AiAiCKTLZUE5gESBWaUh1EUhlSQn\n" +
            "P/uqKe44VO5DjZRJkwB2AO5Lvbd1zmC64UJpH6vhnmajD35fsHLYgwDEe4l6qP3L\n" +
            "AAABWU3/f0gAAAQDAEcwRQIgKgZBrIWaPDC2/348BXPL7IBx42mbBDTlTTW2qnNC\n" +
            "dakCIQD8YEZN3kx/GLqpcJ0dqf1sKvuT3dpd6FpB6Ti156AmBjANBgkqhkiG9w0B\n" +
            "AQsFAAOCAQEAg3ZmeOJI7zuh0cfwjNL9xvPsz0z4/AljVeFKTpz0zLBfsWKhKAp9\n" +
            "5ytTjdmZGaHDvft8WHYlJ3cw2HtOkgZWlKWSzaVqC8qrDcl9P7ogCHfsY69gN2SW\n" +
            "PUJpY6ysweQWofpXjUFCSbH1xGOqX2+3GzcSFSxSBtvgpYDf8gxAsTMpyp6eeTP/\n" +
            "MLFN4Ne3iUYYOWYeXaIe0f6ld6MmwMn3rn3JUSbF3otVl5xpWUfDtDzEDc20cZ0T\n" +
            "kg1AgC8Rp9g9o02KxpDIi8vnh3D3qambpYC0iZSwzh8HrnQ8kIqPDMOLimjvBD2E\n" +
            "RJQfAagm0fZbkNU/xRO5EEhn2rR1bFPwlw==\n" +
            "-----END CERTIFICATE-----";

    /**
     *开发者需要填一个服务端URL 该URL是用来请求支付需要的charge。务必确保，URL能返回json格式的charge对象。
     *服务端生成charge 的方式可以参考ping++官方文档，地址 https://pingxx.com/guidance/server/import
     *
     *【 http://218.244.151.190/demo/charge 】是 ping++ 为了方便开发者体验 sdk 而提供的一个临时 url 。
     * 该 url 仅能调用【模拟支付控件】，开发者需要改为自己服务端的 url 。
     */
    private static final String PINGPP ="http://test.kashowvr.com/api/pingpp/android/charge";
    public static final String URL = PINGPP;
    public static final String MONEY_S = "￥";
    public static final String TYPE_LIVING = "livetype";


    public static class  CHANAL{
        /**
         * 银联支付渠道
         */
        public static final String CHANNEL_UPACP = "upacp";
        /**
         * 微信支付渠道
         */
        public static final String CHANNEL_WECHAT = "wx";
        /**
         * 微信支付渠道
         */
        public static final String CHANNEL_QPAY = "qpay";
        /**
         * 支付支付渠道
         */
        public static final String CHANNEL_ALIPAY = "alipay";
        /**
         * 百度支付渠道
         */
        public static final String CHANNEL_BFB = "bfb";
        /**
         * 京东支付渠道
         */
        public static final String CHANNEL_JDPAY_WAP = "jdpay_wap";
    }



    public static class EVENT {
        public static final String LOGOUT = "logout";
        public static final String LOGIN = "login";
        public static final String MAIN_ACTIVITY = "main_activity";
        public static final String SEARCH_ACTIVITY = "main_activity";
        public static final String MAIN_FRAGMENT = "main_fragment";
        public static final String LOGIN_FRAGMENT = "login_fragment";


        public static final String CHAT_FRAGMENT = "chat_fragment";
        public static final String LIVE_ACTIVITY = "live_activity";
        public static final String UPDATE_SELECTED_GIFT = "update_selected_gift";
        public static final String SEND_GIFT = "send_gift";
        public static final String CLEAR_CATCH_EVENT = "clear_catch_event";
        public static final String CHANGE_PASSWORD = "change_password_event";
        public static final String ON_DATE_SELECTED = "on_date_selected";
        public static final String UPLOAD_IMAGES = "upload_images";
        public static final String UPLOAD_COMPLATE = "upload_complate";
        public static final String ON_UPLOAD_PROGRESS = "on_upload_progress";
        public static final String PUBLISH_ACTIVITY = "publish_activity";
        public static final String ON_RECEIVE_VIDEO_INFO = "on_receive_video_info";
        public static final String EVENT_CANCEL = "event_cancel";
        public static final String SELECT_AUIDO = "select_auido";
        public static final String SELECT_MUSIC = "select_music";
        public static final String SELECT_KA_SAY = "select_ka_say";
        public static final String SELECT_LEADER_SAY = "select_leader_say";
        public static final String SELECT_TEACHER_SAY = "select_teacher_say";
        public static final String PUBLISH_CIRCLE_FRAGMENT = "publish_circle_fragment";
        public static final String BOTTOM_DIALOG_SELECED = "bottom_dialog_seleced";
        public static final String CANCLE_COLLECTION = "cancle_collection";
        public static final String WECHAT_LOGIN = "wechat login";
        public static final String PERSON_INFORMATION_FRAGMENT = "personinformationfragment";
        public static final String PUSH_PHONE = "push_phone";
        public static final String PUSH_COMPUTER = "push_computer";
        public static final String PUSH_VR = "push_vr";
        public static final String MY_PUBLISH_LIVE = "my_publish_live";
        public static final String STOP_VRPLAY = "stop_vr_play";
        public static final String TEACHER_HOME_FRAGMENT = "teacher_home_fragment";
        public static final String REQUEST_LOGIN = "request_login";
        public static final String FINISH_ALL = "finish_all";
        public static final String WEBVIEW_SHARE = "webview_share";
        public static final String PUBLICH_TITLE = "发布直播成功!";
        public static final String PUBLICH_CONTENT = "两分钟内可以取消直播!";
        public static final String WEBVIEW_EVENT = "webview_event";
        public static final String WEBVIEW_TEACHER_HOME = "webview_teacher_home";

        public static final String PERSON_CENTER = "person_center";
        public static final String WEBVIEW_PAY = "webview_pay";
        public static final int REQUEST_COMMENT = 123;
        public static final String COMMENT_SELF = "comment_self";
        public static final String ON_SELECTED_DATE_SELECTED = "on_selected_date_selected";
        public static final String WECHAT_LOGIN_CANCEL = "wechat_login_cancel";
        public static final String CHOICE_FRAGMENT = "choice_fragment";
        public static final String SUB_THEME = "sub_theme";
        public static final String HOME_FRAGMENT = "home_fragment";
    }



    public static class ARGS {
        public static final String PARAM1 = "param1";
        public static final String PARAM2 = "param2";
        public static final String PARAM3 = "param3";
        public static final String PARAM4 = "param4";
        public static final String LIVE_ID = "live_id";
        public static final String LIVE_STATUS = "live_status";
        public static final String LIVE_PIC = "live_pic";
        public static final String TEACHER_ID = "teacherId";
        public static final String HAS_BUY = "has_buy";
        public static final String TEACHER_HOME_TAB_INDEX = "teacher_home_tab_index";
        public static final String PLAY_URL = "play_url";
    }

    public static class CACHE {
        public static final String SPLIT = ":";
        public static final String LIVE_DETAIL = "live:detail:";
        public static final String GIFT_CATCH = "chat:gift";
        public static final String IMAGE_TOKEN = "qiniu:token:image";
        public static final String MEDIA_TOKEN = "qiniu:token:media";
    }

    public class SOCKET {
        public static final String SEND_GIFT = "send gift";
        public static final String SEND_MESSAGE = "send message";
        public static final String USER_JOIN = "user join";
        public static final String USER_EXIT = "user exit";
        public static final String JOIN_CHAT = "join chat";
        public static final String SEND_CHAT = "send chat" ;
        public static final String ADD_QUESTION = "add question";
        public static final String UPDATE_QUESTION = "update question";
        public static final String QUESTION_LIST = "question list";
        public static final String ERROR_MSG = "error msg";
        public static final String TEACHER_JOIN = "teacher join";
        public static final String GET_PRE_MESSAGE = "get preMessage";
    }

    public class QUPAI {
        public static final int REQ_TIMEOUT = 35000;

        /**
         * 默认时长
         */
        public static  final float DEFAULT_DURATION_LIMIT = 8;
        /**
         * 默认最小时长
         */
        public static  final float DEFAULT_MIN_DURATION_LIMIT = 2;
        /**
         * 默认码率
         */
        public static  final int DEFAULT_BITRATE = 2000 * 1000;

        public static final String PREF_VIDEO_EXIST_USER = "Qupai_has_video_exist_in_user_list_pref";

        public static  final int  RECORDE_SHOW = 10001;
    }

    public static  class PAY_RESULT {
        public static final String SUCCESS = "success";
    }

    public class SEARCH {
        public static final String USEAR = "用户";
        public static final String LIVE = "直播";
        public static final String LIVING = "直播中";
        public static final String LIVED = "回顾";
        public static final String TOLIVE = "预播";
        public static final String CONTENT = "搜索内容";
    }

    public class DIFFUTILFIELD {
        public static final String LIVE_TITLE = "live_title";
        public static final String LIVE_PIC = "live_pic";
        public static final String LIVE_TEACHER = "live_teacher";
        public static final String LIVE_STATUS = "live_status";
        public static final String LIVE_WATCH = "live_watch";
        public static final String LIVE_RESERVED = "live_reserved";
        public static final String LIVE_TEACHER_IMG = "live_teacher_img";
        public static final String CIRCLE_WATCH = "circle_watch";
        public static final String CIRCLE_TITLE = "circle_title";
        public static final String CIRCLE_COVER = "circle_cover";
        public static final String CIRCLE_USER = "circle_user";
        public static final String CREATE_AT = "create_at";

        public static final String HOMEWORK_LIST_TITLE = "homework_list_title";
        public static final String HOMEWORK_LIST_TIME = "homework_list_time";
        public static final String HOMEWORK_LIST_COUNT = "homework_list_count";
        public static final String PERSON_ITEM_VALUE = "person_item_value";
        public static final String MESSAGE_ITEM_COUNT = "message_item_count";
        public static final String LIVE_CREATEAT = "live_createat";
        public static final String TEACHER_NAME = "teacher_name";
        public static final String LIVE_MONEY = "live_money";
        public static final String LIVE_CAN_DELETE = "live_can_delete";
        public static final String READ_STATUS = "read_status";
        public static final String LIVE_IS_VR = "live_is_vr";
        public static final String LIVE_HEADER = "live_header";
        public static final String CIRCLE_TIME = "circle_time";
    }

    public class TYPE_SUB_THME {
        public static final String TEXT = "text";
        public static final String PICTURE = "picture";
        public static final String VIDEO = "video";
    }
}
